<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<style>
    /*.layui-form-item .layui-input-inline{*/
    /*    width: 100px;*/
    /*}*/
    /*.layui-form-item{*/
    /*    margin-bottom: -2px !important;*/
    /*    margin-left: 15px;*/
    /*}*/
</style>
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <input id="userId" name="userId" type="hidden">
                        <!--							<div class="form-group">-->
                        <!--								<label class="col-sm-3 control-label">用户类型(学生或老师)：</label>-->
                        <!--								<div class="col-sm-8">-->
                        <!--									<select id="userType" name="userType" class="form-control">-->
                        <!--										<option value="">请选择</option>-->
                        <!--										<option value="0">学生</option>-->
                        <!--										<option value="1">老师</option>-->
                        <!--									</select>-->
                        <!--								</div>-->
                        <!--							</div>-->

                        <div class="form-group">
                            <label class="col-sm-3 control-label">用户名<span style="color: red">*</span>：</label>
                            <div class="col-sm-8">
                                <input id="username" name="username" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">登录密码<span style="color: red">*</span>：</label>
                            <div class="col-sm-8">
                                <input id="password" name="password" class="form-control"
                                       type="password">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">确认密码<span style="color: red">*</span>：</label>
                            <div class="col-sm-8">
                                <input id="passwords" name="passwords" class="form-control"
                                       type="password">
                            </div>
                        </div>
                        <!--							<div class="form-group">-->
                        <!--								<label class="col-sm-3 control-label">所属机构：</label>-->
                        <!--								<div class="col-sm-8">-->
                        <!--									<select id="orgId" name="orgId" class="form-control">-->
                        <!--										<option value="">请选择</option>-->
                        <!--										<option th:each="item : ${organizationNews}"  th:value="${item.id}" th:text="${item.name}"></option>-->
                        <!--									</select>-->
                        <!--								</div>-->
                        <!--							</div>-->
                        <div class="form-group">
                            <label class="col-sm-3 control-label">电话号码<span style="color: red">*</span>：</label>
                            <div class="col-sm-8">
                                <input id="mobile" name="mobile" class="form-control"
                                       type="number">
                            </div>
                        </div>
                        <div class="form-group" style="display:none;">
                            <label class="col-sm-3 control-label">E-mail：</label>
                            <div class="col-sm-8">
                                <input id="email" name="email" class="form-control"
                                       type="email">
                            </div>
                        </div>
                        <div class="form-group" style="display:none;">
                            <label class="col-sm-3 control-label">性别：</label>
                            <div class="col-sm-8">
                                <select id="sex" name="sex" class="form-control">
                                    <option value="">请选择</option>
                                    <option value="0">未知</option>
                                    <option value="1">男</option>
                                    <option value="2">女</option>
                                </select>
                            </div>
                        </div>
                        <div id="insertion">
                            <div class="teacher">
                                <div class="form-group" style="display:none;">
                                    <label class="col-sm-3 control-label">身份证号码：</label>
                                    <div class="col-sm-8">
                                        <input id="idNumber" name="idNumber" class="form-control" type="text"
                                               maxlength="18">
                                    </div>
                                </div>

                                <div class="form-group">
                                    <label class="col-sm-3 control-label">政治面貌：</label>
                                    <div class="col-sm-8">
                                        <input id="politicalAffiliation" name="politicalAffiliation"
                                               class="form-control" type="text">
                                    </div>
                                </div>

                                <div class="form-group">
                                    <label class="col-sm-3 control-label">单位名称：</label>
                                    <div class="col-sm-8">
                                        <input id="unit_school" name="orgName" class="form-control" type="text">
                                    </div>
                                </div>

                                <!--									<div class="form-group">-->
                                <!--										<label class="col-sm-3 control-label">单位所在地：</label>-->
                                <!--										<div class="col-sm-8">-->
                                <!--											<input id="schoolAddress" name="schoolAddress" class="form-control" type="text">-->
                                <!--										</div>-->
                                <!--									</div>-->

                                <!--									<div class="form-group">-->
                                <!--										<label class="col-sm-3 control-label">详细地址：</label>-->
                                <!--										<div class="col-sm-8">-->
                                <!--											<input id="schoolIndetailAddress" name="schoolIndetailAddress" class="form-control" type="text">-->
                                <!--										</div>-->
                                <!--									</div>-->

                                <div class="form-group" style="display: flex;align-items: center ">
                                    <label class="col-sm-3 control-label">详细地址：</label>
                                    <div class="layui-form-item"
                                         style="margin-bottom: -2px !important;margin-left: 15px;">

                                        <div class="layui-input-inline" style="width: 150px;font-size: 16px;display: flex;align-items: center">
                                            省：
                                            <select name="province" id="quiz1">
                                                <option value="">请选择</option>
                                            </select>
                                        </div>

                                        <div class="layui-input-inline" style="width: 150px;font-size: 16px;display: flex;align-items: center">
                                            市：
                                            <select name="city" id="quiz2">
                                                <option value="">请选择</option>
                                            </select>
                                        </div>

                                        <div class="layui-input-inline" style="width: 150px;font-size: 16px;display: flex;align-items: center">
                                            区：
                                            <select name="district" id="quiz3">
                                                <option value="">请选择</option>
                                            </select>
                                        </div>
                                    </div>
                                </div>

                                <div class="form-group" style="display:none;">
                                    <label class="col-sm-3 control-label">所在系部：</label>
                                    <div class="col-sm-8">
                                        <input id="department" name="department" class="form-control"
                                               type="text">
                                    </div>
                                </div>

                                <div class="form-group" style="display:none;">
                                    <label class="col-sm-3 control-label">所在专业：</label>
                                    <div class="col-sm-8">
                                        <input id="major" name="major" class="form-control" type="text">
                                    </div>
                                </div>

                                <div class="form-group">
                                    <label class="col-sm-3 control-label">职位信息：</label>
                                    <div class="col-sm-8">
                                        <input id="officialCapacity" name="officialCapacity"
                                               class="form-control" type="text">
                                    </div>
                                </div>

                                <div class="form-group">
                                    <label class="col-sm-3 control-label">职称信息：</label>
                                    <div class="col-sm-8">
                                        <input id="officialCapacityName" name="officialCapacityName"
                                               class="form-control" type="text">
                                    </div>
                                </div>

                                <div class="form-group" style="display:none;">
                                    <label class="col-sm-3 control-label">收件地址：</label>
                                    <div class="col-sm-8">
                                        <input id="shippingAddress" name="shippingAddress" class="form-control"
                                               type="text">
                                    </div>
                                </div>

                                <div class="form-group" style="display:none;">
                                    <label class="col-sm-3 control-label">收件详细地址：</label>
                                    <div class="col-sm-8">
                                        <input id="shippingIndetailAddress" name="shippingIndetailAddress"
                                               class="form-control" type="text">
                                    </div>
                                </div>

                                <div class="form-group" style="display:none;">
                                    <label class="col-sm-3 control-label">税号：</label>
                                    <div class="col-sm-8">
                                        <input id="dutyParagraph" name="dutyParagraph" class="form-control"
                                               type="text">
                                    </div>
                                </div>

                                <div class="form-group" style="display:none;">
                                    <label class="col-sm-3 control-label">税号单位名称：</label>
                                    <div class="col-sm-8">
                                        <input id="ticketOrgName" name="ticketOrgName" class="form-control"
                                               type="text">
                                    </div>
                                </div>

                                <div class="form-group" style="display:none;">
                                    <label class="col-sm-3 control-label">卡号：</label>
                                    <div class="col-sm-8">
                                        <input id="cardNumber" name="cardNumber" class="form-control"
                                               type="text">
                                    </div>
                                </div>

                                <div class="form-group" style="display:none;">
                                    <label class="col-sm-3 control-label">帐户名：</label>
                                    <div class="col-sm-8">
                                        <input id="accountName" name="accountName" class="form-control"
                                               type="text">
                                    </div>
                                </div>

                                <div class="form-group" style="display:none;">
                                    <label class="col-sm-3 control-label">所属银行：</label>
                                    <div class="col-sm-8">
                                        <input id="bank" name="bank" class="form-control" type="text">
                                    </div>
                                </div>

                            </div>
                        </div>

                        <div class="form-group" style="display:none;">
                            <label class="col-sm-3 control-label">学习、工作经历(800字)：</label>
                            <div class="col-sm-8">
                                        <textarea class="form-control" name="experience" id="experience"
                                                  maxlength="800"></textarea>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">备注：</label>
                            <div class="col-sm-8">
                                <input id="remark" name="remark" class="form-control" type="text">
                            </div>
                        </div>
                        <input type="hidden" name="roleIds" id="roleIds">
                        <input type="hidden" name="userType" value="1">
                        <input type="hidden" name="type" value="1">
                        <input type="hidden" name="status" value="1">
                        <input type="hidden" name="userFrom" value="1">
                        <!--							<div class="form-group">-->
                        <!--								<label class="col-sm-3 control-label">状态:</label>-->
                        <!--								<div class="col-sm-8">-->
                        <!--									<label class="radio-inline"> <input type="radio"-->
                        <!--																		name="status" value="1" /> 正常-->
                        <!--									</label> <label class="radio-inline"> <input type="radio"-->
                        <!--																				 name="status" value="0" /> 禁用-->
                        <!--								</label>-->
                        <!--								</div>-->
                        <!--							</div>-->
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="button" onclick="save()" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>

</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/webJs/sys/resourceUser/add.js?r=112">
</script>
</body>
</html>
